#-------------------------------------------------
#
# Project created by QtCreator 2016-07-13T15:29:31
#
#-------------------------------------------------

QT       -= gui

TARGET = Public
TEMPLATE = lib

DEFINES += PUBLIC_LIBRARY

SOURCES += CRC.cpp \
    Port.cpp \
    Unit.cpp \
    Data.cpp \
    DataFloat.cpp \
    DataAnalog.cpp \
    DataSwitch.cpp \
    Factory.cpp \
    DataEnergy.cpp

HEADERS += CRC.h\
        public_global.h \
    Port.h \
    Unit.h \
    Data.h \
    DataFloat.h \
    DataAnalog.h \
    DataSwitch.h \
    Factory.h \
    public.h \
    DataEnergy.h

DESTDIR=../bin

win32{

}

unix{
    target.path=/usr/lib
    INSTALLS+=target
    debug{
        OBJECTS_DIR += ./debug
    }
    release{
        OBJECTS_DIR += ./release
    }
}
